<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>管理员管理</title>
		<meta name="keywords" content="" />
		<meta name="description" content="" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<% include("/admin/resource/common_css.html"){} %>
	</head>
	<body>
		<% include("/admin/common/header.html"){} %>
		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>
			<div class="main-container-inner">
				<% include("/admin/common/menu.html",{currentstr:"系统"}){} %>
				<div class="main-content">
			      <% include("/admin/common/breadcrumb.html",{breadaddfirst:"系统管理",breadaddsecond:"用户管理",breadaddthird:"用户列表"}){} %>
					<div class="page-content">
						<form action="" method="post">
						 <table>
							<tr>
						       <td align="right" nowrap="nowrap">管理员名称：</td> 
						       <td width="250">
						         <input type="text" name="adminuser.name" value="${adminuser.name!}"/>
						       </td>
						       <td align="right" nowrap="nowrap">驾校名称：</td> 
						       <td width="250">
						         <input type="text" name="schoolName" value="${schoolName!}"/>
						       </td>
						        <td>
						          <input type="submit" class=" btn btn-sm btn-success serchebtns" value="查询">
						          <input type="hidden" id="pageNum" name="pageNum">
						        </td>
			                    <td><a href="${ctx!}/admin/auth/user/add" class="btn btn-success addbtn"/>添加</a></td>
							 </tr> 
							</table>
						</form>
						<table class="table table-striped table-bordered table-hover">
							<thead>
							<tr>
								<th>编号</th>
								<th>名称</th>
								<th>登陆名</th>
								<th>手机</th>
								<th width="200">操作</th>
							</tr>
							</thead>
							<%for(adminuser in admins.list){%>
								<tr>
									<td>${adminuserLP.index!}</td>
									<td>${adminuser.name!}</td>
									<td>${adminuser.login_name!}</td>
								    <td>${adminuser.mobile!}</td>
									<td>
									  <a href="${ctx!}/admin/auth/user/detail?id=${adminuser.id}" class="btn btn-info">编辑</a>  
									  <a href="#" onclick='delrow("${ctx!}/admin/auth/user/delete",this,"${adminuser.id!}")'  class="btn btn-danger">删除</a>
									</td>
								</tr>
							<%}%>
						</table>
						<div id="bottomdiv">
				       		<%
							include("/admin/common/_page.html",{
							    uri : '/jd_drive/admin/auth/user/list/',
							    page : admins
							}){}
							%> 
					    </div>
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->

				<% include("/admin/common/acesetting.html"){}%>
			</div><!-- /.main-container-inner -->
		</div><!-- /.main-container -->
	<% include("/admin/common/footer.html"){} %>
	<% include("/admin/resource/common_js.html"){} %>
</body>
</html>

